#!/usr/bin/env python3

import json
import sys

for lib in sys.argv[1:]:
  with open(lib) as f:
    print(len(json.load(f)['items']), lib)
